-- adjust-format.lua
-- function Header(el)
--   if el.level == 2 then
--     el.attr = pandoc.Attr("", {"Heading2"})
--   end
--   return el
-- end


function BulletList(el)
  return pandoc.OrderedList(el.content)
end

-- function Header(el)
--   if el.level == 4 then
--         print("Header level: " .. el.level .. " | Text: " .. pandoc.utils.stringify(el.content))
--     el.attr.classes = { "h3-song-bold" }
--   end
--   return el
-- end

-- function Header4(el)
--   if el.level == 4 then
--     print("Header level: " .. el.level .. " | Text: " .. pandoc.utils.stringify(el.content))
--     el.attr = el.attr or {}
--     -- 添加 Word 样式
--     el.attr.classes = el.attr.classes or {}
--     print("Classes: " .. table.concat(el.attr.classes, ", "))
--     table.insert(el.attr.classes, "h3-song-bold")
--   end
--   return el
-- end
